package com.smh.aiagent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smh.aiagent.model.pojo.UserMessage;

import java.util.List;

/**
 * @author shiminghui
 * @date 2025/5/31 17:10
 * @description: TODO
 */
public interface UserMessageMapper extends BaseMapper<UserMessage> {

    List<UserMessage> selectMessagesByConversationIdAndLastN(String conversationId, int lastN);
}
